#
# Be sure to run `pod lib lint TmapManager.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'TmapManager'
  s.version          = '0.9.0'
  s.summary          = 'A short description of TmapManager.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/six/TmapManager'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'six' => 'jssix@itcom888.com' }
  s.source           = { :git => 'http://j7.hnxmny.com:8088/a/iOS-Libraries/BusinessComponents/TYTmapManager', :tag => s.version.to_s }
  s.frameworks = 'UIKit'
  s.ios.deployment_target = '9.0'
  s.static_framework = true
  s.dependency 'YYModel'
  s.dependency 'MMKV'

  s.subspec 'TmapDomains' do |td|
    td.source_files = 'TmapManager/Classes/TmapDomains/**/*.{h,m}'
    td.public_header_files = 'TmapManager/Classes/TmapDomains/**/*.h'
    td.dependency  'TmapManager/TmapStrategyCDN'
  end
  
  s.subspec 'TmapNetwork' do |tn|
    tn.source_files = 'TmapManager/Classes/TmapNetwork/**/*.{h,m}'
    tn.public_header_files = 'TmapManager/Classes/TmapNetwork/**/*.h'
  end
  
  s.subspec 'TmapStrategyCDN' do |tsc|
    tsc.source_files = 'TmapManager/Classes/TmapStrategyCDN/**/*.{h,m}'
    tsc.public_header_files = 'TmapManager/Classes/TmapStrategyCDN/**/*.h'
  end
  
  
end
